#include "widget.h"

Widget::Widget(QWidget *parent)
    : QWidget(parent)
{
    box = new QToolBox(this);
    lay = new QHBoxLayout(this);

    but1 = new QPushButton("Database - 1",this);
    but2 = new QPushButton("Network - 2",this);
    but3 = new QPushButton("Graphics - 3",this);

    box->addItem(but1,"Database");
    box->addItem(but2,"Network");
    box->addItem(but3,"Graphics");

    lay->addWidget(box);

    setLayout(lay);

}

Widget::~Widget()
{
}

